package com.ossjk.oa.paid.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.ossjk.core.base.entity.BaseEntity;


/**
 * 
 * 
 * @Author Datou
 * @Version 1.0, 2020-05-29
 * @See
 * @Since com.ossjk.oa.paid.entity
 * @Description: TODO
 */
public class Paid extends BaseEntity<Paid> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId("id")
    private String id;
    /**
     * 用户id
     */
    @TableField("eid")
    private String eid;
    /**
     * 薪酬组成表达式
     */
    @TableField("expression")
    private String expression;
    /**
     * 薪酬表达式
     */
    @TableField("formula")
    private String formula;
    /**
     * 时间
     */
    @TableField("date")
    private Date date;
    /**
     * 薪酬总额
     */
    @TableField("salary")
    private BigDecimal salary;
    /**
     * 备注
     */
    @TableField("remarks")
    private String remarks;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    public String getFormula() {
        return formula;
    }

    public void setFormula(String formula) {
        this.formula = formula;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Date getCrtm() {
        return crtm;
    }

    public void setCrtm(Date crtm) {
        this.crtm = crtm;
    }

    public String getCrer() {
        return crer;
    }

    public void setCrer(String crer) {
        this.crer = crer;
    }

    public Date getMdtm() {
        return mdtm;
    }

    public void setMdtm(Date mdtm) {
        this.mdtm = mdtm;
    }

    public String getMder() {
        return mder;
    }

    public void setMder(String mder) {
        this.mder = mder;
    }

    public BigDecimal getState() {
        return state;
    }

    public void setState(BigDecimal state) {
        this.state = state;
    }

    public BigDecimal getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(BigDecimal isdelete) {
        this.isdelete = isdelete;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Paid{" +
        ", id=" + id +
        ", eid=" + eid +
        ", expression=" + expression +
        ", formula=" + formula +
        ", date=" + date +
        ", salary=" + salary +
        ", remarks=" + remarks +
        ", crtm=" + crtm +
        ", crer=" + crer +
        ", mdtm=" + mdtm +
        ", mder=" + mder +
        ", state=" + state +
        ", isdelete=" + isdelete +
        "}";
    }
}
